<template>
  <view class="container">
    <head-box></head-box>
    <view class="online-wrap tab-botton">
      <goodteachers :list="list" v-if="list.length"></goodteachers>
      <u-loadmore v-else :status="status" :icon-type="iconType" @loadmore="loadmore"  class="loadmore-not" />
    </view>
    <tabs-box></tabs-box>
  </view>
</template>

<script>
import { group1 } from '@/mixins/group-1'
import {gettRunResourcesBaseList} from '@/api/training'
import goodteachers from '@/components/goodteachers'
  export default {
    mixins:[group1],
    components:{
      goodteachers
    },
    data() {
      return {
        moveList: {},
      }
    },
    onShow(){
      // #ifdef H5
      console.log('分享')
      this.$wxSetShare()
      // #endif
    },
    methods: {
      //名师管理-分页列表查询
      async getList() {
        const params = { column: 'shareNum', order: 'desc',pageNo:this.pageNo,
          pageSize:10,
          type:4,
          deleted:'0'
        }
        await this.getLists(gettRunResourcesBaseList,params)
      },
    },
  }
</script>

